package com.oa.oaspccommon.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Leave implements Serializable {
    private int leave_id;
    private int user_id;
    //请假人姓名
    private String user_name;
    //请假类型
    private String leave_type;
    //请假原因
    private String leave_reason;
    private Date start_date;
    private Date end_date;
    //提交时间
    private Date add_date;
    //流程号
    private int flow_no;
    //当前流程节点编号
    private int current_node;
    //当前请假申请状态，0表示草稿，1表示已提交审批，2表示审批结束
    private int state;
}
